.content {
  display: flex;
  align-items: stretch;
}
.file-upload-btn{
  position: relative;
  overflow: hidden;
  > input[type=file]{
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    padding-top: 100%;
  }
}
.main {
  flex: 1;
  margin-right: 30px;
  overflow: hidden;
  position: relative;
  padding: 1rem;
}


#layout {
  overflow: auto;
  width: 100%;
  height: 100%;
}

#packer_group{
  margin-right: 15px;
  margin-left: 15px;
  width: 340px;
}
#canvas {
  -webkit-user-select: none;
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),
  linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
  border: 1px solid #ccc;
}




.aside-wrapper {
  flex: 0 0 340px;
  overflow: hidden;
  position: relative;
  h3{
    margin-top: 0;
  }
}
.aside{
  height: 100%;
  padding: 1rem;
}
#css_template{
  white-space: pre;
  resize: vertical;
  height: 160px;
}

@media screen and (max-width: 767px) {
  .content{
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
  .main{
    margin-right: 0;
    margin-bottom: 15px;
  }
  .aside-wrapper{
    flex: none;
  }
}